"use strict";

function isObject(obj) {
  return Object.prototype.toString.call(obj) === "[object Object]";
}

function isArray(array) {
  return Object.prototype.toString.call(array) === "[object Array]";
}

module.exports = {
  isObject,
  isArray,
};
